﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.PluginKernel;
using Spc;

namespace EasyB2C
{
    [PluginInfo("EasyB2C入口插件", "官方", "", "")]
    public class Portal:IPlugin
    {
        public PluginConnectionResult Connect(IPluginApp _app)
        {
            PortalPlugin app = _app as PortalPlugin;
            if (app != null)
            {
                app.OnPortalRequest += Request.app_OnPortalRequest;
            }
            return PluginConnectionResult.Success;
        }

        public string GetMessage()
        {
            return "";
        }

        public bool Install()
        {
            return true;
        }

        public void Pause()
        {
        }

        public void Run()
        {
        }

        public bool Uninstall()
        {
            return false;
        }




    }
}
